//导入高阶函数
import { createStore, applyMiddleware } from "redux";
//导入下面的子模块
import reducer from './reducers'
// 导入redux-thunk
import reduxThunk from "redux-thunk";
//抛出
export default createStore(reducer, applyMiddleware(reduxThunk))